<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create Trust Regions</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<style>
.top {
	border: 0px solid #ccc;
	overflow: hidden;
	padding: 0;
	margin: 0;
	padding-bottom: 2px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.top-left {
	border: 0px solid #ccc;
	font: bold 14px Arial, Verdana, Helvetica, sans-serif;
	float: left;
	padding: 5px 0;
}

.top-right {
	border: 0px solid #ccc;
	float: right;
	text-align: right;
}

.details1 {
	overflow: hidden;
}

.content-left {
	float: left;
	padding-right: 20px;
	border: 0px solid #ccc;
}

.content-right {
	float: right;
	border: 0px solid #ccc;
}

.frm .field {
	display: table;
	margin: 5px;
}

.frm div label {
	width: 150px;
	word-wrap: break-word;
	display: table-cell;
	vertical-align: middle;
	position: static;
}

.frm textarea {
	width: 260px;
	height: 80px;
}

.lstcbb {
	width: 260px;
	height: 95px;
	overflow-y: auto;
	border: 1px solid #ccc;
	background-color: #fff;
	display: auto;
}
</style>
<script language="JavaScript">
	function saveInfo() {
		alert("Insert value success !!!");
	}
</script>
</head>
<body>
	<%
		if (session.getAttribute("username") == null)
			response.sendRedirect("login.jsp");
	%>
	<%@include file="header.jsp"%>
	<div id="content">
		<div id="mainContainer">
			<div class="box">
				<div id="container-orglst">
					<div id="tabContaier">
						<form name="saveCreDis"
							action="saveCreDis"
							method="post">
							<table width="800" align=center cellpadding="3" cellspacing="2"
								border=0>
								<tr>
									<ul class="tabs" style="width: 100%">
										<td><b><h1>CREATE NEW</h1> </B>
										</td>
										<td></td>
										<td></td>
										<td align=center>
											<!-- <button type="button" onclick="mainForm.active.checked=false;">Deactivate</button> -->
											<div class="top-right include"
												style="width: 400px; float: right; display: inline; margin-right: 5px; margin-bottom: 10px; padding: 0">
												<button type="submit" value="Save">Save</button>
												<s:url action="ShowTrustRegion" var="urlTag" />
												<s:a href="%{urlTag}">
													<input type="button" value="Back" />
												</s:a>
											</div></td>
									</ul>
								</tr>
							</table>

							<div id="tab1" class="tabContents details1">
								<table id="inf" width="800" align=center cellpadding="3"
									cellspacing="2" border=0 id="tableDetail2">
									<tr>
										<div class="field">
											<td><b><label for="org_name">Trust Region
														Name<span style="color: red;">*<span>
												</label>
											</B>
											</td>
											<td><input type="text" name="nameTR"
												value="<%=request.getParameter("nameTR")%>" readonly>
											</td>
										</div>
									</tr>
									<tr>
										<div class="field">
											<td><b><label for="org_name">Trust District
														Name<span style="color: red;">*<span>
												</label>
											</td>
											<td><input type="text" " name="nameTD">
											</td></div>
									</tr>
									<tr>
										<div class="field">
											<td><b><label for="org_desshort">Description<span style="color: red;">*<span></label></B></td>
											<td><textarea rows="4" name="desTD"></textarea></td>
										</div>
									</tr>
									<tr>
										<td colspan="3"></td>
									</tr>
								</table>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	</div>
	<%@include file="footer.jsp"%>
</body>
</html>